<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>聚合搜索</title>
    <script src="jquery.min.js"></script>
</head>
<body>
    <div style="width: 100%; text-align: center;">
    <input type="button" value="必应" onclick="upSearch('https://www.bing.com/')">&nbsp;&nbsp;&nbsp;
    <input type="button" value="搜狗" onclick="upSearch('https://www.sogou.com/')">&nbsp;&nbsp;&nbsp;
    <input type="button" value="360" onclick="upSearch('https://www.so.com/')">&nbsp;&nbsp;&nbsp;
    </div>

    <hr>
    <iframe id="ifr" style="width: 100%; height: 600px;" src="https://cn.bing.com/"></iframe>

    <script>
        function upSearch(url){
            jQuery("#ifr").attr("src",url);
        }
    </script>
</body>
</html>